home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_gen_deathfloor.cog < prev    next >
Text File  |  1999-11-15  |  826b  |  39 lines

  1. # Jones 3D Cog Script
  2. #
  3. # gen_DeathFloor.cog
  4. #
  5. # This script creates a surface that kills anything that touches it
  6. #
  7. # [IS]
  8. #
  9. # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
  10. # ========================================================================================
  11.  
  12. symbols
  13.     message    touched        
  14.     message    entered
  15.  
  16.     surface    surf0        mask=0x404
  17.     surface    surf1        mask=0x404
  18.     surface    surf2        mask=0x404
  19.     surface    surf3        mask=0x404
  20.     surface    surf4        mask=0x404
  21.     surface    surf5        mask=0x404
  22.     surface    surf6        mask=0x404
  23.     surface    surf7        mask=0x404
  24.     surface    surf8        mask=0x404
  25.  
  26.     int        victim    local
  27. end
  28.  
  29. # ========================================================================================
  30.  
  31. code
  32. touched:
  33. entered:
  34.     victim = GetSourceRef();
  35.     DamageThing(victim, 1000.0, 0x1, victim);
  36.     return;
  37. end
  38.  
  39.